//
//  BiLoginViewController.m
//  TrunkIndustryManageSystem
//
//  Created by 李璐西 on 15-4-9.
//  Copyright (c) 2015年 李璐西. All rights reserved.
//

#import "BiLoginViewController.h"

@interface BiLoginViewController ()
{
    UITextField * _phoneTextField;
    UITextField * _pwdTextField;

}
@end

@implementation BiLoginViewController

- (void) viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor = UIColorFromRGB(0x009bf7);
    [self setNavBarWithHidden:NO];
    [self setNavBackBtn];
    
    UIImageView * imageView = [[UIImageView alloc] initWithFrame:CGRectMake((MAIN_SCREEN_WIDTH-90)/2, 64, 90, 139)];
    imageView.image = LOAD_IMAGE_WITH_CACHE(@"login/logo.png");
    [self.view addSubview:imageView];
    [imageView release];
    
    // 手机号
    imageView = [[UIImageView alloc] initWithFrame:CGRectMake((MAIN_SCREEN_WIDTH-250)/2, 220, 250, 40)];
    imageView.image = LOAD_IMAGE_WITH_CACHE(@"login/phone_bg.png");
    [self.view addSubview:imageView];
    [imageView release];
    
    CGRect rtPhoneText = imageView.frame;
    rtPhoneText.origin.x = (MAIN_SCREEN_WIDTH-250)/2 + 30;
    rtPhoneText.size.width = 220;
    _phoneTextField = [[UITextField alloc] initWithFrame:rtPhoneText];
    _phoneTextField.placeholder = @"手机号";
    _phoneTextField.textColor = [UIColor blackColor];
    _phoneTextField.font = [UIFont systemFontOfSize:16];
    [self.view addSubview:_phoneTextField];
    [_phoneTextField release];
}

@end
